package com.zh.webcommon.common.query.jpa;

import com.zh.webcommon.common.param.CommonParam;
import jakarta.persistence.criteria.Predicate;

import java.util.List;

/**
 * 空条件查询：
 * 只包含基本的分页参数+createTime时间范围
 *
 * @author ZH
 * @date 15:01 2023/6/15
 */
public final class NoneConditionStrategy<T> extends AbstractConditionStrategy<T,CommonParam> {
    public NoneConditionStrategy(CommonParam condition) {
        super(condition);
    }

    @Override
    protected void specification(Param<T> meta, List<Predicate> predicates) {
        //空条件 ...

    }

}
